package com.hry.store.cms.dao;

import com.hry.store.cms.pojo.HotProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface HotProductMapper {
    int deleteByPrimaryKey(Integer secondCategoryId);

    int insert(HotProduct record);

    int insertSelective(HotProduct record);

    HotProduct selectByPrimaryKey(Integer secondCategoryId);

    int updateByPrimaryKeySelective(HotProduct record);

    int updateByPrimaryKey(HotProduct record);

    List<HotProduct> getHotProductByTopCategory(Integer topCategoryId);
}